import request from "@/utils/request";

//退税统计-列表
export const invoiceList = (data) =>
  request({
    url: `/out/statistic-remain-invoice/index`,
    method: "post",
    data,
  });

//退税统计-退税
export const statisticTaxReturn = (data) =>
  request({
    url: `/out/statistic-refund-tax/return-tax`,
    method: "post",
    data,
  });

//报关公司-状态
export const declareCompanyStatus = (data) =>
  request({
    url: `/out/declare-company/status`,
    method: "post",
    data,
  });

//剩余发票统计-作废
export const invoiceCancel = (id) =>
  request({
    url: `/out/statistic-remain-invoice/cancel`,
    method: "post",
    data: { purchase_invoice_id: id },
  });
